package com.viknix.threadpool.manager.http.factory;

import com.viknix.threadpool.manager.http.TpmAsyncRestTemplate;
import com.viknix.threadpool.manager.http.TpmRestTemplate;

/**
 * @Author: Dongqi
 * @Date: 2021/11/22 10:56
 * @Version 1.0
 * @Description: http Client Factory.
 */
public interface HttpClientFactory {

    /**
     * create new tpm rest.
     *
     * @return TpmRestTemplate
     */
    TpmRestTemplate createTpmRestTemplate();

    /**
     * 生产 TpmAsyncRestTemplate 对象
     *
     * @return TpmAsyncRestTemplate
     */
    TpmAsyncRestTemplate createTpmAsyncRestTemplate();

}
